//
//  Menu.h
//  XRmenu
//
//  Created by yangxh on 11-3-31.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class Catalogs;

@interface Menu :  NSManagedObject  
{
}

@property (nonatomic, retain) NSDate * mCheckInTime;
@property (nonatomic, retain) NSString * mMenuId;
@property (nonatomic, retain) NSNumber * mStatus;
@property (nonatomic, retain) NSNumber * mID;
@property (nonatomic, retain) NSNumber * mDepartmentID;
@property (nonatomic, retain) NSNumber * mProductsCount;
@property (nonatomic, retain) NSString * mName;
@property (nonatomic, retain) NSSet* rsToCatalogs;

+ (NSArray *)allMenus;
- (void)setAsCurrentMenu;

@end


@interface Menu (CoreDataGeneratedAccessors)
- (void)addRsToCatalogsObject:(Catalogs *)value;
- (void)removeRsToCatalogsObject:(Catalogs *)value;
- (void)addRsToCatalogs:(NSSet *)value;
- (void)removeRsToCatalogs:(NSSet *)value;

@end

